package com.dyh.quickdemo.bizDemo.Eigenvector;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/*
@Author=Joey Wheeler
@Date=2021/2/24 11:05
*/
@Getter@Setter@AllArgsConstructor@NoArgsConstructor
public class Student implements Eigenvector{
    private int age;
    private char sex;//M F

    @Override
    public String normalize() {
        return sex+(age>=16?"1":age>=10?"0":"");
    }


}
